let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n167,
                    i =
                    (this && this.__extends) ||
                    ((_n167 = function n(t, e) {
                            return (_n167 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n167(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.StoreType2Com = void 0);
                var r = t('UIComponent'),
                    a = t('ComUtils'),
                    s = t('StoreMrg'),
                    c = t('AbsInfo'),
                    l = t('StoreItemCom2'),
                    u = t('LangCfg'),
                    h = (function(t) {
                        function e(e, o) {
                            var n = t.call(this, e) || this;
                            return (
                                (n.Item = o),
                                s.StoreMrg.ins.on(c.InfoEvent.Changed, n.onChangedHandler, n),
                                n.onChangedHandler(),
                                n
                            );
                        }
                        return (
                            i(e, t),
                            (e.prototype.onInit = function() {
                                t.prototype.onInit.call(this),
                                    (this._content = a.default.getNode(
                                        this.view,
                                        'New Node/content'
                                    )),
                                    (this._txtTitle = a.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'title/txtTitle'
                                    ));
                            }),
                            (e.prototype.onLang = function() {
                                this._txtTitle.string = u.LangCfg.ins.getContent(200301);
                            }),
                            (e.prototype.onChangedHandler = function() {
                                for (var t = s.StoreMrg.ins.type2, e = 0; e < t.length; e++) {
                                    var o =
                                        this.coms.length > e ?
                                        this.coms[e] :
                                        new l.StoreItemCom2(cc.instantiate(this.Item));
                                    (o.info = t[e]),
                                    null == o.view.parent && this._content.addChild(o.view),
                                        this.addCom(o);
                                }
                            }),
                            e
                        );
                    })(r.UIComponent);
                (o.StoreType2Com = h), console.log("end");
            module.exports =  e.exports;